<template>
  <div>
    <BKImagePreviewer ref="imagePreviewer" />
    <div
      class="map-box"
      v-show="mapVisible"
    >
      <BKGeoMap
        is-global
        ref="map"
      />
    </div>
  </div>
</template>

<script>
export default {
  name: 'YsqgztAttachment',
  computed: {
    mapVisible () {
      return false
    }
  },
  methods: {
    handlePreviewImage (urls) {
      this.$refs.imagePreviewer.show(urls)
    }
  }
}
</script>

<style lang="scss" scoped>
.map-box {
  position: absolute;
  top: $layoutHeaderHeight;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}
</style>
